﻿/*
 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
 * Description: Header file of hmac&dmac message id defined.
 * Create: 2020-06-16
 */

#ifndef WLAN_MSG_H
#define WLAN_MSG_H

#include "wlan_msg_rom.h"

typedef enum {
    WLAN_MSG_H2D_C_BEGIN = WLAN_MSG_D2D_END,
    WLAN_MSG_H2D_C_SYN_SAMPLE = WLAN_MSG_H2D_C_BEGIN,
    WLAN_MSG_H2D_C_UPDATE_TWT,
    WLAN_MSG_H2D_C_CFG_DEVICE_STA_MULTI_BSSID_SET,
    WLAN_MSG_H2D_C_CFG_REKEY_OFFLOAD_SET_SWITCH,
    WLAN_MSG_H2D_C_CFG_HOST_SLEEP_NOTIFY,
    WLAN_MSG_H2D_C_CFG_SET_WOW_PARAM,
    WLAN_MSG_H2D_C_CFG_GET_VERSION,
    WLAN_MSG_H2D_C_CFG_PM_GET_LOWSPEED_CLK_FREQ,
    WLAN_MSG_H2D_C_CFG_GET_GPIO_LEVEL,
    WLAN_MSG_H2D_C_CFG_DEVICE_ADD_VAP,
    WLAN_MSG_H2D_C_CFG_DEVICE_START_VAP,
    WLAN_MSG_H2D_C_CFG_DEVICE_DEL_VAP,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_VAP,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_DEV,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_HAL_DEVICE,
    WLAN_MSG_H2D_C_CFG_CLEAR_DSCR_QUEUE,
    WLAN_MSG_H2D_C_CFG_INIT_RX_DSCR,
    WLAN_MSG_H2D_C_CFG_DESTROY_RX_DSCR,
    WLAN_MSG_H2D_C_CFG_DEVICE_ADD_USER,
    WLAN_MSG_H2D_C_CFG_DEVICE_DEL_USER,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_USER,
    WLAN_MSG_H2D_C_DEVICE_TX_ADDBA_REQ,
    WLAN_MSG_H2D_C_DEVICE_TX_ADDBA_RSP,
    WLAN_MSG_H2D_C_DEVICE_RX_ADDBA_RSP,
    WLAN_MSG_H2D_C_DEVICE_PERFORMANCE_DSCR_REPORT,
    WLAN_MSG_H2D_C_DEVICE_DELBA,
    WLAN_MSG_H2D_C_CFG_DEVICE_USER_RATE_SYN,
    WLAN_MSG_H2D_C_CFG_DEVICE_CONNECT_REQ,
    WLAN_MSG_H2D_C_CFG_DEVICE_TEMP_REDUCE_TPC,
    WLAN_MSG_H2D_C_CFG_DEVICE_TEMP_AGGR_CHANGE,
    WLAN_MSG_H2D_C_CFG_DEVICE_TEMP_REDUCE_SCHEDULE,
    WLAN_MSG_H2D_C_CFG_DEVICE_TEMP_PA_OFF,
    WLAN_MSG_H2D_C_CFG_DEVICE_INTF_TYPE,
    WLAN_MSG_H2D_C_CFG_DEVICE_INTF_DET_START,
    WLAN_MSG_H2D_C_CFG_DFT_GLOBAL_FRAME_SWITCH,
    WLAN_MSG_H2D_C_CFG_DFT_80211_FRAME_SWITCH,
    WLAN_MSG_H2D_C_CFG_ALG_PARAM,
    WLAN_MSG_H2D_C_CFG_ALG_PARAM_SYNC,
    WLAN_MSG_H2D_C_CFG_ALG_VAP_UP,
    WLAN_MSG_H2D_C_CFG_ALG_MULTI_PARAM,
    WLAN_MSG_H2D_C_CFG_GET_TX_USER_RATE_INFO,
    WLAN_MSG_H2D_C_CFG_GET_TX_PARAMS,
    WLAN_MSG_H2D_CFG_ALG_INTRF_MODE_CFG,
    WLAN_MSG_H2D_CFG_ALG_INTRF_MODE_TOTAL_CFG,
    WLAN_MSG_H2D_C_CFG_SYNC_HAL_DEV_FSM_STATE,
    WLAN_MSG_H2D_C_CFG_SYNC_HAL_RF_FSM_STATE,
    WLAN_MSG_H2D_C_CFG_SYNC_WORK_VAP_STATE,
    WLAN_MSG_H2D_C_CFG_REQ_SYNC_PMBIT,
    WLAN_MSG_H2D_C_CFG_CHANGE_WORK_SUB_STATE,
    WLAN_MSG_H2D_C_CFG_IDEL_SLEEP_PREPARE,
    WLAN_MSG_H2D_C_CFG_ENABLE_FRONT_END,
    WLAN_MSG_H2D_C_CFG_SYNC_MAC_PA_SWITCH,
    WLAN_MSG_H2D_C_CFG_CALI_ENTRY,
    WLAN_MSG_H2D_C_CFG_WORK_ENTRY,
    WLAN_MSG_H2D_C_CFG_REQUEST_RF_SLEEP,
    WLAN_MSG_H2D_C_CFG_REQUEST_RF_POWOFF,
    WLAN_MSG_H2D_C_CFG_SYNC_SUB_WORK_TO_RF,
    WLAN_MSG_H2D_C_CFG_VOTE_2_PLATFORM,
    WLAN_MSG_H2D_C_CFG_HCC_SEND_READY_MSG,
    WLAN_MSG_H2D_C_CFG_SYNC_HAL_VAP,
    WLAN_MSG_H2D_C_CFG_SEND_BEACON,
    WLAN_MSG_H2D_C_CFG_REG_WRITE,
    WLAN_MSG_H2D_C_CFG_REG_READ,
    WLAN_MSG_H2D_C_CFG_REG_WRITE_BITS,
    WLAN_MSG_H2D_C_CFG_PM_HOST_ALLOW_SLEEP,
    WLAN_MSG_H2D_C_CFG_RESUME_TX,
    WLAN_MSG_H2D_C_CFG_RESTORE_HW_QUEUE,
    WLAN_MSG_H2D_C_CFG_SET_BTCOEX_ABORT_NULL,
    WLAN_MSG_H2D_C_CFG_CSI_HAL,
    WLAN_MSG_H2D_C_CFG_DEVICE_DFR_REQ,
    WLAN_MSG_H2D_C_CFG_DEVICE_RESET_AP_PSM,
    WLAN_MSG_H2D_C_CFG_DEVICE_SET_STA_PM_ON,
    WLAN_MSG_H2D_C_CFG_DEVICE_SET_PS_MODE,
    WLAN_MSG_H2D_C_CFG_DEVICE_SET_PSM_PARAM,
    WLAN_MSG_H2D_C_CFG_DEVICE_SET_UAPSD_PARA,
    WLAN_MSG_H2D_C_CFG_DEVICE_SET_STA_PM_PARAM,
    WLAN_MSG_H2D_C_CFG_SYNC_IP_INFO,
    WLAN_MSG_H2D_C_CFG_SET_FREE_ARP_INTERVAL,
    WLAN_MSG_H2D_C_CFG_SET_ARP_OFFLOAD_SWITCH,
    WLAN_MSG_H2D_C_CFG_GET_VAT_STAT,
    WLAN_MSG_H2D_C_CFG_TX_VAP_AGGRE_INFO,
    WLAN_MSG_H2D_C_CFG_ENABLE_VAT_STAT,
    WLAN_MSG_H2D_C_CFG_GET_HW_STAT,
    WLAN_MSG_H2D_C_CFG_ENABLE_HW_STAT,
    WLAN_MSG_H2D_C_CFG_FLUSH_TX_COMPLETE,
    WLAN_MSG_H2D_C_CFG_DEVICE_P2P_STATE,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_P2P_INFO,
    WLAN_MSG_H2D_C_CFG_DEVICE_PM_POST,
    WLAN_MSG_H2D_C_CFG_SET_BTCOEX_PS_FLAG,    /* 同步ps状态标志给device侧 */
    WLAN_MSG_H2D_C_CFG_SET_BTCOEX_PS_FRAME,   /* 同步ps帧信息给device侧 */
    WLAN_MSG_H2D_C_CFG_SET_BTCOEX_DUMP,       /* btcoex状态打印 */
    WLAN_MSG_H2D_C_CFG_BTCOEX_SIWTCH_PS,      /* 切换ps状态 */
    WLAN_MSG_H2D_C_CFG_BTCOEX_SET_AGGR_NUM,   /* 通知修改聚合度 */
    WLAN_MSG_H2D_C_CFG_BTCOEX_SYNC_OCCUPIED_TIME,
    WLAN_MSG_H2D_C_CFG_SET_DHCP_OFFLOAD_SWITCH,
    WLAN_MSG_H2D_C_CFG_DEVICE_NOTIFY_ALG_ADD_USER,
    WLAN_MSG_H2D_C_CFG_DEVICE_SYNC_TPC,       /* 同步tpc功率表变化到device侧 */
    WLAN_MSG_H2D_C_CFG_KEEPALIVE_DEBUG,
    WLAN_MSG_H2D_C_CFG_DEVICE_FLUSH_EVENT_MSG, /* 同步清除事件消息 */
    WLAN_MSG_H2D_C_CFG_DEVICE_SWITCH_CHANNEL,  /* 切换信道 */
    WLAN_MSG_H2D_C_CFG_DEVICE_FCS_START,
    WLAN_MSG_H2D_C_CFG_DEVICE_RESET_BA,
    WLAN_MSG_H2D_C_CFG_DEVICE_LATENCY_STAT_SWITCH,
    WLAN_MSG_H2D_C_CFG_DEVICE_REPORT_LATENCY_STAT,
    WLAN_MSG_H2D_C_CFG_DEVICE_CLEAR_LATENCY_STAT,
    WLAN_MSG_H2D_C_CFG_DEVICE_DBAC_PAUSE,
    WLAN_MSG_H2D_C_CFG_DEVICE_DBAC_RESUME,
    WLAN_MSG_H2D_C_CFG_DEVICE_DBAC_DOWN,
    WLAN_MSG_H2D_C_CFG_DEVICE_DBAC_UPDATE_FCS_PARAM,
    WLAN_MSG_H2D_C_CFG_DEVICE_DBAC_DISASSOC_SEND,
    WLAN_MSG_H2D_C_CFG_CHBA_SET_LONGSLEEP_PARAM,        /* 长休眠使能去使能配置 */
    WLAN_MSG_H2D_C_CFG_CHBA_SET_VAP_BITMAP,        /* VAP信道配置接口 */
    WLAN_MSG_H2D_C_CFG_HML_SET_STATE,        /* 配置HML state   */
    WLAN_MSG_H2D_C_CFG_HML_SET_ROLE_INFO,        /* 配置HML role和bssid */
    WLAN_MSG_H2D_C_CFG_CHBA_SET_USER_BITMAP,        /* USER信道配置接口 */
    WLAN_MSG_H2D_C_CFG_HML_SET_SYS_PARAM,        /* 配置系统参数 */
    WLAN_MSG_H2D_C_CFG_CHBA_CFG_USER_PARAM,        /* 配置用户空口时延阈值、队列阈值、上报标志等信息 */
    WLAN_MSG_H2D_C_CFG_HML_NOTIFY_SCAN_BITMAP,        /* h2d:在哪些slot停止发送 */
    WLAN_MSG_H2D_C_CFG_CHBA_MSG,
    WLAN_MSG_H2D_C_CFG_GET_EDCA_STAT,
    WLAN_MSG_H2D_C_CFG_CLEAR_EDCA_STAT,
    WLAN_MSG_H2D_C_CFG_GET_ANTI_INTF_STAT,
    WLAN_MSG_H2D_C_CFG_CLEAR_ANTI_INTF_STAT,
    WLAN_MSG_H2D_C_CFG_DEVICE_GET_PSD_DATA, /* 读dmac缓存的psd数据 */
    WLAN_MSG_H2D_C_CFG_PSD_ENABLE, /* PSD使能 */
    WLAN_MSG_H2D_C_CFG_PROTECTION_SYNC,
    WLAN_MSG_H2D_C_CFG_RTS_THRESHOLD_SYNC,
    WLAN_MSG_H2D_C_CFG_VAP_AGGRE_ENABLE,
    WLAN_MSG_H2D_C_CFG_USER_RATE_ENABLE,
    WLAN_MSG_H2D_C_CFG_RX_DSCR_RECV,
    WLAN_MSG_H2D_C_CFG_WOW_SHOW_WAKEUP_REASON, /* 显示WOW唤醒原因 */
    WLAN_MSG_H2D_C_CFG_SDP_INIT,             /* wifi aware, sdp, nan */
    WLAN_MSG_H2D_C_CFG_SDP_ADD_PEER_MAC,
    WLAN_MSG_H2D_C_CFG_SDP_DW_PRD_TIME_CFG,
    WLAN_MSG_H2D_C_CFG_ADJUST_TX_POWER,
    WLAN_MSG_H2D_C_CFG_RESTORE_TX_POWER,
    WLAN_MSG_H2D_C_CFG_AMPDU_TX_ON,
    WLAN_MSG_H2D_C_CFG_CLEAR_WOW_OFFLOAD_INFO, /* 清空wow_offload_info */
    WLAN_MSG_H2D_C_CFG_WOW_PARAM_SYNC,   /* WOW启动，同步offload的参数等信息 */
    WLAN_MSG_H2D_C_CFG_MAC_ANT_SEL_TX_DSCR, /* mac层tx方向描述符方式配置天线选择参数 */
    WLAN_MSG_H2D_C_CFG_APF_EXEC, /* 设置/查询APF过滤规则,强制停止APF过滤 */
    WLAN_MSG_H2D_C_CFG_SLP_ENABLE,
    WLAN_MSG_H2D_C_CFG_SLP_RM_START,
    WLAN_MSG_H2D_C_CFG_CALI_DATA_SYNC,  /* 校准数据的同步下发 */
    WLAN_MSG_H2D_C_CFG_REINIT_MEM,
    WLAN_MSG_H2D_C_CFG_FLUSH_DYN_MASK, /* 来自tx notify动态功率 */
    WLAN_MSG_H2D_C_CFG_DATA_SAMPLE_RESV_MEM, /* 数采预留32K RAM空间 */
    WLAN_MSG_H2D_C_CFG_MASK_MAC_PARSE_TIM,
    WLAN_MSG_H2D_C_CFG_DEVICE_MEM_INFO,
    WLAN_MSG_H2D_C_CFG_WOW_RSV_MEM,  /* wowbin加载预留32K RAM空间 */
    WLAN_MSG_H2D_C_CFG_WOW_LOAD,  /* wowbin加载 */
    WLAN_MSG_H2D_C_CFG_GET_STA_PS_STAT,
    WLAN_MSG_H2D_C_CFG_SET_11B_TX_COUNT,
    WLAN_MSG_H2D_C_CFG_UPDATE_BSSID,
    WLAN_MSG_H2D_C_CFG_GET_TID_PKT_STAT,
    WLAN_MSG_H2D_C_CFG_INIT_PMINFO,         /* 配置内置offset基准值并初始化offset探测功能 */
    WLAN_MSG_H2D_C_CFG_PROCESS_RSSI_COMP, /* 读写rssi comp */
    WLAN_MSG_H2D_C_CFG_MAC_PARSE_TIM,
    WLAN_MSG_H2D_C_CFG_VAP_CLEAR_TX_QUEUE, /* 清除VAP发送队列 */
    WLAN_MSG_H2D_C_CFG_GET_SYS_PM_STAT,
    WLAN_MSG_H2D_C_CFG_FRAG_PN_ENABLE,
    WLAN_MSG_H2D_C_CFG_GET_AL_RX_RSSI,
    WLAN_MSG_H2D_C_CFG_FILTER_OTHER_BSS_MGMT,
    WLAN_MSG_H2D_C_CFG_SYNC_EXTCOEX_STATUS,
    WLAN_MSG_H2D_C_END
} wlan_msg_h2d_c_enum;

typedef enum {
    WLAN_MSG_H2D_M_BEGIN = WLAN_MSG_H2D_C_END,
    WLAN_MSG_H2D_M_HML_MGMT = WLAN_MSG_H2D_M_BEGIN,
    WLAN_MSG_H2D_M_END
} wlan_msg_h2d_m_enum;

typedef enum {
    WLAN_MSG_H2D_D_BEGIN = WLAN_MSG_H2D_M_END,
    WLAN_MSG_H2D_D_TX_HOST_DRX = WLAN_MSG_H2D_D_BEGIN,
    WLAN_MSG_H2D_D_END
} wlan_msg_h2d_d_enum;

typedef enum {
    WLAN_MSG_W2D_C_BEGIN = WLAN_MSG_H2D_D_END,
    WLAN_MSG_W2D_C_CFG_SET_REKEY = WLAN_MSG_W2D_C_BEGIN,
    WLAN_MSG_W2D_C_CFG_SET_SLEEP,
    WLAN_MSG_W2D_C_CFG_FRW_DUMP,
    WLAN_MSG_W2D_C_CFG_SET_TX_DSCR_DEBUG,
    WLAN_MSG_W2D_C_CFG_AL_RX_INFO,
    WLAN_MSG_W2D_C_CFG_QUERY_RATE,
    WLAN_MSG_W2D_C_CFG_DEVICE_PKT_DBG,
    WLAN_MSG_W2D_C_CFG_SHOW_DHCPOFFLOAD_INFO,
    WLAN_MSG_W2D_C_CFG_SET_DHCPOFFLOAD_INFO,
    WLAN_MSG_W2D_C_CFG_WOW_AUTOLOAD,
    WLAN_MSG_W2D_C_CFG_SET_RU_ALLOCATION,
    WLAN_MSG_W2D_C_CFG_SET_DSCR_TPC_CH0, /* 用于AT命令来设置Pcore      设置描述中的tpc_ch0的值 */
    WLAN_MSG_W2D_C_CFG_CHBA_SET_LONGSLEEP_PARAM,        /* 长休眠使能去使能配置 */
    WLAN_MSG_W2D_C_CFG_SERVICE_CONTROL_PARA,
    WLAN_MSG_W2D_C_CFG_SET_SOFT_RETRY_TIMES,
    WLAN_MSG_W2D_C_CFG_SET_FRAME_SOFT_RETRY_TIMES,
    WLAN_MSG_W2D_C_CFG_SINGLE_TONE_TEST, /* single tone test */
    WLAN_MSG_W2D_C_CFG_TXDC_STEP_TEST, /* TXDC step test */
    WLAN_MSG_W2D_C_CFG_GET_TX_PARAMS,
    WLAN_MSG_W2D_C_CFG_PM_DEBUG, /* 平台低功耗测试用 */
    WLAN_MSG_W2D_C_CFG_PM_ENABLE, /* 平台低功耗使能 */
    WLAN_MSG_W2D_C_CFG_SMOOTH_PHASE,
    WLAN_MSG_W2D_C_CFG_SET_GPIO_VAL,
    WLAN_MSG_W2D_C_CFG_SET_PERFORMANCE_MODE,
    WLAN_MSG_W2D_C_CFG_SET_TX_SCHED_TIMEOUT,
    WLAN_MSG_W2D_C_CFG_SET_NETBUF_RAM_MAX,
    WLAN_MSG_W2D_C_CFG_HEAP_DUMP,
    WLAN_MSG_W2D_C_CFG_SET_11B_ON,
    WLAN_MSG_W2D_C_CFG_SET_AMPDU_MAX_AGGR_NUM,
    WLAN_MSG_W2D_C_CFG_ALWAYS_TX_RATIO,
    /* D2D patch */
    WLAN_MSG_D2D_C_CFG_REPORT_PHY_EVENT_RPT,
    WLAN_MSG_W2D_C_END
} wlan_msg_w2d_c_enum;

typedef enum {
    WLAN_MSG_W2H_BEGIN = WLAN_MSG_W2D_C_END,
    WLAN_MSG_W2H_CFG_STATION_ID = WLAN_MSG_W2H_BEGIN,
    WLAN_MSG_W2H_CFG_BSS_TYPE,
    WLAN_MSG_W2H_CFG_GET_BSS_TYPE,
    WLAN_MSG_W2H_CFG_SSID,
    WLAN_MSG_W2H_CFG_GET_SSID,
    WLAN_MSG_W2H_CFG_DTIM_PERIOD,
    WLAN_MSG_W2H_CFG_GET_DTIM_PERIOD,
    WLAN_MSG_W2H_CFG_SMPS_MODE,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_CWMIN,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_CWMAX,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_AIFSN,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_TXOP_LIMIT,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_MSDU_LIFETIME,
    WLAN_MSG_W2H_CFG_EDCA_TABLE_MANDATORY,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_CWMIN,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_CWMAX,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_AIFSN,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_TXOP_LIMIT,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_MSDU_LIFETIME,
    WLAN_MSG_W2H_CFG_QEDCA_TABLE_MANDATORY,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_CWMIN,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_CWMAX,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_AIFSN,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_TXOP_LIMIT,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_MSDU_LIFETIME,
    WLAN_MSG_W2H_CFG_GET_EDCA_TABLE_MANDATORY,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_CWMIN,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_CWMAX,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_AIFSN,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_TXOP_LIMIT,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_MSDU_LIFETIME,
    WLAN_MSG_W2H_CFG_GET_QEDCA_TABLE_MANDATORY,
    WLAN_MSG_W2H_CFG_SHORT_PREAMBLE,
    WLAN_MSG_W2H_CFG_GET_SHORT_PREAMBLE,
    WLAN_MSG_W2H_CFG_SHORTGI,
    WLAN_MSG_W2H_CFG_GET_SHORTGI,
    WLAN_MSG_W2H_CFG_SHORTGI_FORTY,
    WLAN_MSG_W2H_CFG_GET_SHORTGI_FORTY,
    WLAN_MSG_W2H_CFG_CURRENT_CHANEL,
    WLAN_MSG_W2H_CFG_GET_CURRENT_CHANEL,
    WLAN_MSG_W2H_CFG_SHORTGI_EIGHTY,
    WLAN_MSG_W2H_CFG_GET_SHORTGI_EIGHTY,
    WLAN_MSG_W2H_CFG_ADD_VAP,
    WLAN_MSG_W2H_CFG_START_VAP,
    WLAN_MSG_W2H_CFG_DEL_VAP,
    WLAN_MSG_W2H_CFG_DOWN_VAP,
    WLAN_MSG_W2H_CFG_MODE,
    WLAN_MSG_W2H_CFG_GET_MODE,
    WLAN_MSG_W2H_CFG_PROT_MODE,
    WLAN_MSG_W2H_CFG_GET_PROT_MODE,
    WLAN_MSG_W2H_CFG_AUTH_MODE,
    WLAN_MSG_W2H_CFG_GET_AUTH_MODE,
    WLAN_MSG_W2H_CFG_NO_BEACON,
    WLAN_MSG_W2H_CFG_GET_NO_BEACON,
    WLAN_MSG_W2H_CFG_TX_POWER,
    WLAN_MSG_W2H_CFG_GET_TX_POWER,
    WLAN_MSG_W2H_CFG_VAP_INFO,
    WLAN_MSG_W2H_CFG_BANDWIDTH,
    WLAN_MSG_W2H_CFG_ADD_KEY,
    WLAN_MSG_W2H_CFG_REMOVE_KEY,
    WLAN_MSG_W2H_CFG_GET_KEY,
    WLAN_MSG_W2H_CFG_EXTERNAL_AUTH_STATUS,
    WLAN_MSG_W2H_CFG_AMPDU_END,
    WLAN_MSG_W2H_CFG_ADDBA_REQ,
    WLAN_MSG_W2H_CFG_DELBA_REQ,
    WLAN_MSG_W2H_CFG_SET_RANDOM_MAC_ADDR_SCAN,
    WLAN_MSG_W2H_CFG_SET_RANDOM_MAC_OUI,
    WLAN_MSG_W2H_CFG_KICK_USER,
    WLAN_MSG_W2H_CFG_AMPDU_TX_ON,
    WLAN_MSG_W2H_CFG_GET_AMPDU_TX_ON,
    WLAN_MSG_W2H_CFG_GET_AMSDU_TX_ON,
    WLAN_MSG_W2H_CFG_REGDOMAIN_PWR,
    WLAN_MSG_W2H_CFG_GET_REGDOMAIN_PWR,
    WLAN_MSG_W2H_CFG_FRAG_THRESHOLD_REG,
    WLAN_MSG_W2H_CFG_FRAG_PN_ENABLE,
    WLAN_MSG_W2H_CFG_SHOW_FRAG_THRESHOLD_REG,
    WLAN_MSG_W2H_CFG_SET_STA_PM_ON,
    WLAN_MSG_W2H_CFG_SET_LINKLOSS_PARAMS,
    WLAN_MSG_W2H_CFG_PACKET_XMIT,
    WLAN_MSG_W2H_CFG_AMSDU_AMPDU_SWITCH,
    WLAN_MSG_W2H_CFG_COUNTRY,
    WLAN_MSG_W2H_CFG_GET_COUNTRY,
    WLAN_MSG_W2H_CFG_GET_CHANNEL_LIST,
    WLAN_MSG_W2H_CFG_ALG_PARAM,
    WLAN_MSG_W2H_CFG_CSA,
    WLAN_MSG_W2H_CFG_2040_COEXISTENCE,
    WLAN_MSG_W2H_CFG_ACS_CONFIG,
    WLAN_MSG_W2H_CFG_SCAN_ABORT,
    WLAN_MSG_W2H_CFG_CFG80211_START_SCHED_SCAN,
    WLAN_MSG_W2H_CFG_CFG80211_START_SCAN,
    WLAN_MSG_W2H_CFG_CFG80211_START_CONNECT,
    WLAN_MSG_W2H_CFG_CFG80211_SET_CHANNEL,
    WLAN_MSG_W2H_CFG_CFG80211_CONFIG_BEACON,
    WLAN_MSG_W2H_CFG_ALG,
    WLAN_MSG_W2H_CFG_ALG_CFG,
    WLAN_MSG_W2H_CFG_SET_WPS_IE,
    WLAN_MSG_W2H_CFG_SET_RTS_THRESHOLD,
    WLAN_MSG_W2H_CFG_SET_WPS_P2P_IE,
    WLAN_MSG_W2H_CFG_SET_CUSTOMIZE_IE,
    WLAN_MSG_W2H_CFG_CHAN_STAT,
    WLAN_MSG_W2H_CFG_USER_INFO,
    WLAN_MSG_W2H_CFG_WMM_SWITCH,
    WLAN_MSG_W2H_CFG_EDCA_OPT_SWITCH_STA,
    WLAN_MSG_W2H_CFG_FTM_DBG,
    WLAN_MSG_W2H_CFG_SET_THRUPUT_TEST,
    WLAN_MSG_W2H_CFG_SET_OPMODE_NOTIFY,
    WLAN_MSG_W2H_CFG_DUMP_REG,
    WLAN_MSG_W2H_CFG_ADD_BLACK_LIST,
    WLAN_MSG_W2H_CFG_DEL_BLACK_LIST,
    WLAN_MSG_W2H_CFG_BLACKLIST_MODE,
    WLAN_MSG_W2H_CFG_GET_BLACKLIST_MODE,
    WLAN_MSG_W2H_CFG_BLACKLIST_SHOW,
    WLAN_MSG_W2H_CFG_ISOLATION_MODE,
    WLAN_MSG_W2H_CFG_ISOLATION_TYPE,
    WLAN_MSG_W2H_CFG_ISOLATION_FORWARD,
    WLAN_MSG_W2H_CFG_ISOLATION_CLEAR,
    WLAN_MSG_W2H_CFG_ISOLATION_SHOW,
    WLAN_MSG_W2H_CFG_ADD_BLACK_LIST_ONLY,
    WLAN_MSG_W2H_CFG_CFG80211_SET_MIB_BY_BW,
    WLAN_MSG_W2H_CFG_PROXYARP_EN,
    WLAN_MSG_W2H_CFG_CFG80211_REMAIN_ON_CHANNEL,
    WLAN_MSG_W2H_CFG_CFG80211_CANCEL_REMAIN_ON_CHANNEL,
    WLAN_MSG_W2H_CFG_CFG80211_MGMT_TX,
    WLAN_MSG_W2H_CFG_SET_RD_IE_SWITCH,
    WLAN_MSG_W2H_CFG_SET_P2P_PS_OPS,
    WLAN_MSG_W2H_CFG_SET_P2P_PS_NOA,
    WLAN_MSG_W2H_CFG_SET_P2P_PS_STAT,
    WLAN_MSG_W2H_CFG_SET_QOS_MAP,
    WLAN_MSG_W2H_CFG_MONITOR_EN,
    WLAN_MSG_W2H_CFG_CFG_VAP_H2D,
    WLAN_MSG_W2H_CFG_HOST_DEV_INIT,
    WLAN_MSG_W2H_CFG_HOST_DEV_EXIT,
    WLAN_MSG_W2H_CFG_AMPDU_MMSS,
    WLAN_MSG_W2H_CFG_SET_MAX_USER,
    WLAN_MSG_W2H_CFG_GET_MAX_USER,
    WLAN_MSG_W2H_CFG_GET_STA_LIST,
    WLAN_MSG_W2H_CFG_SET_FT_IES,
    WLAN_MSG_W2H_CFG_CFG80211_SET_PMKSA,
    WLAN_MSG_W2H_CFG_CFG80211_DEL_PMKSA,
    WLAN_MSG_W2H_CFG_CFG80211_FLUSH_PMKSA,
    WLAN_MSG_W2H_CFG_DESTROY_VAP,
    WLAN_MSG_W2H_CFG_SET_ALL_LOG_LEVEL,
    WLAN_MSG_W2H_CFG_SET_VENDOR_IE,
    WLAN_MSG_W2H_CFG_VENDOR_CMD_GET_CHANNEL_LIST,
    WLAN_MSG_W2H_CFG_CLR_BLACK_LIST,
    WLAN_MSG_W2H_CFG_11V_BSST_SWITCH,
    WLAN_MSG_W2H_CFG_11V_TX_QUERY,
    WLAN_MSG_W2H_CFG_SEND_RADIO_MEAS_REQ,
    WLAN_MSG_W2H_CFG_SET_MLME,
    WLAN_MSG_W2H_CFG_SEND_RADIO_MEAS_RPT,
    WLAN_MSG_W2H_CFG_FBT_GET_STA_11R_ABILITY,
    WLAN_MSG_W2H_CFG_DSCP_MAP_TO_TID,
    WLAN_MSG_W2H_CFG_CLEAN_DSCP_TID_MAP,
    WLAN_MSG_W2H_CFG_VAP_WMM_SWITCH,
    WLAN_MSG_W2H_CFG_GET_VAP_WMM_SWITCH,
    WLAN_MSG_W2H_CFG_QOS_ENHANCE_ON,
    WLAN_MSG_W2H_CFG_SET_SUSPEND_MODE,
    WLAN_MSG_W2H_CFG_REMOVE_APP_IE,
    WLAN_MSG_W2H_CFG_WUR_SEND_SETUP,
    WLAN_MSG_W2H_CFG_WUR_SEND_TEARDOWN,
    WLAN_MSG_W2H_CFG_WUR_ENABLE_OPTION,
    WLAN_MSG_W2H_CFG_MULTI_BSSID_ENABLE,
    WLAN_MSG_W2H_CFG_SDP_INIT,
    WLAN_MSG_W2H_CFG_SDP_START_SUBSCRIBE,
    WLAN_MSG_W2H_CFG_SDP_CANCEL_SUBSCRIBE,
    WLAN_MSG_W2H_CFG_SDP_SEND_DATA,
    WLAN_MSG_W2H_CFG_SDP_TEST_SYNC_PRIVATE,
    WLAN_MSG_W2H_CFG_SDP_DW_PRD_TIME_CFG,
    WLAN_MSG_W2H_CFG_SET_SCAN_PARAM,
    WLAN_MSG_W2H_CFG_START_HML,
    WLAN_MSG_W2H_CFG_SYNC_REQUEST,
    WLAN_MSG_W2H_CFG_HOST_SLEEP_EN,
    WLAN_MSG_W2H_CFG_SET_WOW,
    WLAN_MSG_W2H_CFG_WOW_ACTIVATE_EN,
    WLAN_MSG_W2H_CFG_SET_WOW_PATTERN,
    WLAN_MSG_W2H_CFG_SET_WOW_PARAM,
    WLAN_MSG_W2H_CFG_HML_SET_ROLE,
    WLAN_MSG_W2H_CFG_GET_VAP_STAT,
    WLAN_MSG_W2H_CFG_HML_SET_VAP_CHANNEL,
    WLAN_MSG_W2H_CFG_GET_ASSOC_REQ_IE,
    WLAN_MSG_W2H_CFG_GET_2040BSS_SW,
    WLAN_MSG_W2H_CFG_M2U_SNOOP_ON,
    WLAN_MSG_W2H_CFG_M2U_DENY_TABLE,
    WLAN_MSG_W2H_CFG_SHOW_M2U_SNOOP_TABLE,
    WLAN_MSG_W2H_CFG_IGMP_PACKET_XMIT,
    WLAN_MSG_W2H_CFG_REG_INFO,
    WLAN_MSG_W2H_CFG_UAPSD_EN,
    WLAN_MSG_W2H_CFG_GET_UAPSD_EN,
    WLAN_MSG_W2H_CFG_GET_DSCP_TID_MAP,
    WLAN_MSG_W2H_CFG_SET_USER_APP_IE,
    WLAN_MSG_W2H_CFG_GET_IP_STATUS,
    WLAN_MSG_W2H_CFG_START_SNIFFER_INFO,
    WLAN_MSG_W2H_CFG_GET_SNIFFER_INFO,
    WLAN_MSG_W2H_CFG_GET_DHCP_DEBUG,
    WLAN_MSG_W2H_CFG_SET_SCAN_PARAMS,
    WLAN_MSG_W2H_CFG_CLEAN_SCAN_RESULT,
    WLAN_MSG_W2H_CFG_WIFI_APP_SERVICE,
    WLAN_MSG_W2H_CFG_SET_CHAN_MEAS,
    WLAN_MSG_W2H_CFG_START_CHBA,
    WLAN_MSG_W2H_CFG_CHBA_CONN_NOTIFY, /* supplicant下发的CHBA准备连接通知 */
    WLAN_MSG_W2H_CFG_CHBA_MODULE_INIT,
    WLAN_MSG_W2H_CFG_CHBA_CONNECT_PREPARE,
    WLAN_MSG_W2H_CFG_CHBA_AUTO_BITMAP_CMD,
    WLAN_MSG_W2H_CFG_CHBA_SET_USER_BITMAP_CMD,
    WLAN_MSG_W2H_CFG_CHBA_SET_VAP_BITMAP_CMD,
    WLAN_MSG_W2H_CFG_CHBA_ADJUST_ISLAND_CHAN, /* CHBA全岛切信道命令 */
    WLAN_MSG_W2H_CFG_CHBA_FEATURE_SWITCH,
    WLAN_MSG_W2H_CFG_CHBA_SET_BATTERY, /* 配置电量，改变RP值 */
    WLAN_MSG_W2H_CFG_CHBA_CHAN_SWITCH_TEST_CMD,
    WLAN_MSG_W2H_C_CFG_RX_VAP_AGGRE_INFO,
    WLAN_MSG_W2H_C_CFG_SET_CSI_PARAM,
    WLAN_MSG_W2H_C_CFG_CSI_SWITCH,
    WLAN_MSG_W2H_C_CFG_SET_KEEPALIVE_MODE,
    WLAN_MSG_W2H_C_CFG_SET_AP_USER_AGING_TIME,
    WLAN_MSG_W2H_C_CFG_COMMON_DEBUG,
    WLAN_MSG_W2H_C_CFG_P2P_SET_MODE,
    WLAN_MSG_W2H_C_CFG_SET_CUS_DYN_CALI_PARAM,
    WLAN_MSG_W2H_C_CFG_SET_CUS_RF,
    WLAN_MSG_W2H_C_CFG_SET_CUS_DTS_CALI,
    WLAN_MSG_W2H_C_CFG_SET_CUS_NVRAM_PARAM,
    WLAN_MSG_W2H_C_CFG_DOUBLE_ANT_SW,
    WLAN_MSG_W2H_C_CFG_SET_DHCPOFFLOAD_SWITCH,
    WLAN_MSG_W2H_C_CFG_QUERY_ANI,
    WLAN_MSG_W2H_C_CFG_FREE_ARP_INTERVAL,
    WLAN_MSG_W2H_C_CFG_ENABLE_ARP_OFFLOAD,
    WLAN_MSG_W2H_C_CFG_COUNTRY_FOR_DFS,
    WLAN_MSG_W2H_C_CFG_QUERY_RSSI,
    WLAN_MSG_W2H_C_CFG_QUERY_STATUS,
    WLAN_MSG_W2H_C_CFG_SET_AGGR_NUM,
    WLAN_MSG_W2H_C_CFG_SET_M2S_SWITCH,
    WLAN_MSG_W2H_C_CFG_SET_M2S_MSS,
    WLAN_MSG_W2H_C_CFG_SET_M2S_BLACKLIST,
    WLAN_MSG_W2H_C_CFG_SEND_CUSTOM_PKT,
    WLAN_MSG_W2H_C_CFG_SET_ALWAYS_TX,
    WLAN_MSG_W2H_C_CFG_SET_BACKOFF_DELAY,
    WLAN_MSG_W2H_C_CFG_REG_WRITE,
    WLAN_MSG_W2H_C_CFG_SET_ALWAYS_RX,
    WLAN_MSG_W2H_C_CFG_SET_TRX_TYPE,
    WLAN_MSG_W2H_C_CFG_SET_DSCR,
    WLAN_MSG_W2H_C_CFG_GET_FAST_RESULT,
    WLAN_MSG_W2H_C_CFG_RESET_FAST_RESULT,
    WLAN_MSG_W2H_C_CFG_CFG80211_STOP_SCHED_SCAN,
    WLAN_MSG_W2H_C_CFG_BEACON_CHAIN_SWITCH,
    WLAN_MSG_W2H_C_CFG_SET_TX_DATA_TYPE_DEBUG,
    WLAN_MSG_W2H_C_CFG_DBB_ENV_PARAM,
    WLAN_MSG_W2H_C_CFG_MAC_DUMP,
    WLAN_MSG_W2H_C_CFG_PHY_DUMP,
    WLAN_MSG_W2H_C_CFG_STATS_DUMP,
    WLAN_MSG_W2H_CFG_WFA_CFG_AIFSN,
    WLAN_MSG_W2H_CFG_WFA_CFG_CW,
    WLAN_MSG_W2H_CFG_REDUCE_SAR,
    WLAN_MSG_W2H_CFG_RSSI_LIMIT_CFG,
    WLAN_MSG_W2H_CFG_QUERY_PSST,
    WLAN_MSG_W2H_CFG_GET_DIEID,
    WLAN_MSG_W2H_CFG_SET_DBM,
    WLAN_MSG_W2H_CFG_SET_PK_MODE_TH,            /* pk模式切换阈值设置 */
    WLAN_MSG_W2H_CFG_ADJUST_TX_POWER,
    WLAN_MSG_W2H_CFG_RESTORE_TX_POWER,
    WLAN_MSG_W2H_CFG_GET_TSF,
    WLAN_MSG_W2H_CFG_CHR_ERR_CODE,
    WLAN_MSG_W2H_CFG_CHR_TEST,
    WLAN_MSG_W2H_CFG_CHECK_INFO,
    WLAN_MSG_W2H_CFG_SET_RF_LIMIT_POWER,
    WLAN_MSG_W2H_CFG_DYN_CALI_CFG,
    WLAN_MSG_W2H_CFG_CALI_INFO_DUMP,
    WLAN_MSG_W2H_CFG_GET_VERSION,
    WLAN_MSG_W2H_CFG_GTE_RX_USER_RATE_INFO,
    WLAN_MSG_W2H_CFG_SHOW_STA_INFO,
    WLAN_MSG_W2H_CFG_VAP_AGGRE_INFO,
    WLAN_MSG_W2H_CFG_HW_STAT_ENABLE,
    WLAN_MSG_W2H_CFG_GET_HW_STAT,
    WLAN_MSG_W2H_CFG_PERIOD_CHECK_TASK,
    WLAN_MSG_W2H_CFG_VAP_AGGRE_ENABLE,
    WLAN_MSG_W2H_CFG_SERVICE_CONTROL_PARA,
    WLAN_MSG_W2H_CFG_SET_LOG_LEVEL,
    WLAN_MSG_W2H_CFG_PSD_ENABLE,
    WLAN_MSG_W2H_CFG_SINGLE_PROXYSTA,
    WLAN_MSG_W2H_CFG_ALG_INTRF_MODE_CFG,
    WLAN_MSG_W2H_CFG_ALG_INTRF_MODE_DMAC_CFG,
    WLAN_MSG_W2H_CFG_SET_AC_MODE,
    WLAN_MSG_W2H_C_CFG_WOW_SHOW_WAKEUP_REASON, /* 打印WOW唤醒理由 */
    WLAN_MSG_W2H_C_CFG_CLEAR_WOW_OFFLOAD_INFO,
    WLAN_MSG_W2H_C_CFG_SET_REKEY,
    WLAN_MSG_W2H_C_CFG_WOW_PARAM_SYNC,
    WLAN_MSG_W2H_CFG_SET_FILTER_LIST,
    WLAN_MSG_W2H_CFG_FORCE_STOP_FILTER,
    WLAN_MSG_W2H_CFG_WOW_LOAD,
    WLAN_MSG_W2H_CFG_UPDATE_OWE_INFO,
    WLAN_MSG_W2H_CFG_MGMT_FRAME_REPORT,
    WLAN_MSG_W2H_CFG_SET_RF_FE_RX_INSERT_LOSS,
    WLAN_MSG_W2H_CFG_GET_RF_FE_RX_INSERT_LOSS,
    WLAN_MSG_W2H_CFG_IWLIST_SCAN,
    WLAN_MSG_W2H_CFG_SET_11AX_SOFTAP_PARAM,
    WLAN_MSG_W2H_CFG_SET_RF_FE_POWER,
    WLAN_MSG_W2H_CFG_SET_RF_FE_POWER_CALI,
    WLAN_MSG_W2H_CFG_SET_RF_FE_RSSI,
    WLAN_MSG_W2H_CFG_RESET_MAC_PHY,
    WLAN_MSG_W2H_CFG_SIGMA_TRAFFIC_SET,
    WLAN_MSG_W2H_CFG_SIGMA_TRAFFIC_PORT,
    WLAN_MSG_W2H_CFG_CALI_DEBUG,
    WLAN_MSG_W2H_CFG_RATE_POWER,
    WLAN_MSG_W2H_CFG_CCPRIV_CMD,
    WLAN_MSG_W2H_CFG_SET_IPADDR,
    WLAN_MSG_W2H_CFG_SET_IP_STATE,
    WLAN_MSG_W2H_CFG_SET_TX_RATE,
    WLAN_MSG_W2H_CFG_IND_ACHBA_KEEPALILVE, /* 链路保活开启和关闭 */
    WLAN_MSG_W2H_CFG_SET_PSM_PARAM,
    WLAN_MSG_W2H_CFG_EXT_TBTT_OFFSET,
    WLAN_MSG_W2H_CFG_GET_RX_PPDU_INFO,
    WLAN_MSG_W2H_CFG_SET_BRCTL,
    WLAN_MSG_W2H_CFG_CAL_TONE,
    WLAN_MSG_W2H_END
} wlan_msg_w2h_enum;

typedef enum {
    WLAN_MSG_H2H_BEGIN = WLAN_MSG_W2H_END,
    WLAN_MSG_H2H_FRW_TIMEOUT = WLAN_MSG_H2H_BEGIN,
    WLAN_MSG_H2H_CRX_RX,
    WLAN_MSG_H2H_RX,
    WLAN_MSG_H2H_C_SCAN_REQ,
    WLAN_MSG_H2H_C_CFG_TID_RESUME,
    WLAN_MSG_H2H_C_DISASOC,
    WLAN_MSG_H2H_C_MISC_DISASOC,
    WLAN_MSG_H2H_C_CFG_DEV_REQ_WAKEUP_HOST,
    WLAN_MSG_H2H_END
} wlan_msg_h2h_enum;

typedef enum {
    WLAN_MSG_H2W_BEGIN = WLAN_MSG_H2H_END,
    WLAN_MSG_H2W_SCAN_COMP_STA = WLAN_MSG_H2W_BEGIN,
    WLAN_MSG_H2W_ASOC_COMP_STA,
    WLAN_MSG_H2W_DISASOC_COMP_STA,
    WLAN_MSG_H2W_STA_CONNECT_AP,
    WLAN_MSG_H2W_STA_DISCONNECT_AP,
    WLAN_MSG_H2W_MIC_FAILURE,
    WLAN_MSG_H2W_ACS_RESPONSE,
    WLAN_MSG_H2W_RX_MGMT,
    WLAN_MSG_H2W_LISTEN_EXPIRED,
    WLAN_MSG_H2W_FLOWCTL_BACKP,
    WLAN_MSG_H2W_MGMT_TX_STATUS,
    WLAN_MSG_H2W_ROAM_COMP_STA,
    WLAN_MSG_H2W_FT_EVENT_STA,
    WLAN_MSG_H2W_SAMPLE_REPORT,
    WLAN_MSG_H2W_AUTOCALI_REPORT,
    WLAN_MSG_H2W_CAC_REPORT,
    WLAN_MSG_H2W_M2S_STATUS,
    WLAN_MSG_H2W_SDP_RX_DATA,
    WLAN_MSG_H2W_EXTERNAL_AUTH,
    WLAN_MSG_H2W_STA_CONN_RESULT,
    WLAN_MSG_H2W_ALL_VAP_DISTROY,
    WLAN_MSG_H2W_CH_SWITCH_NOTIFY,
    WLAN_MSG_H2W_UPLOAD_RX_MGMT,
    WLAN_MSG_H2W_UPLOAD_PROMIS,
    WLAN_MSG_H2W_RX_CSI,
    WLAN_MSG_H2W_RX_PSD,
    WLAN_MSG_H2W_RX_CSA_DONE,
    WLAN_MSG_H2W_STA_OWE_INFO,
    WLAN_MSG_H2W_IWLIST_SCAN_RSP,
    WLAN_MSG_H2W_INSMOD_KO_FINISH,
    WLAN_MSG_H2W_END
} wlan_msg_h2w_enum;

typedef enum {
    WLAN_MSG_D2H_PATCH_BEGIN = WLAN_MSG_H2W_END,
    WLAN_MSG_D2H_C_CFG_COMPLETE_PHY_EVENT_RPT = WLAN_MSG_D2H_PATCH_BEGIN,
    WLAN_MSG_D2H_PATCH_END,
    EN_WLAN_MSG_END = WLAN_MSG_D2H_PATCH_END
} wlan_msg_d2h_patch_enum;

#endif
